package com.missilike.domain.mapper;

import com.missilike.domain.response.MilContentStatisticInfo;
import com.missilike.repository.entity.extend.MilContentStatisticExtend;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MilContentStatisticInfoMapper {
    MilContentStatisticInfoMapper MAPPER = Mappers.getMapper(MilContentStatisticInfoMapper.class);

    MilContentStatisticInfo toInfo(MilContentStatisticExtend milContentStatisticExtend);

    List<MilContentStatisticInfo> toList(List<MilContentStatisticExtend> list);
}
